package edu.cqie.smartfarm.service;

import edu.cqie.smartfarm.dto.FenceDTO;
import edu.cqie.smartfarm.dto.FenceQueryDTO;
import edu.cqie.smartfarm.dto.FenceUpdateDTO;
import edu.cqie.smartfarm.entity.Fence;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.cqie.smartfarm.result.PageVO;
import edu.cqie.smartfarm.vo.FenceVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yyw
 * @since 2024-12-26
 */
public interface IFenceService extends IService<Fence> {

    /**
     * 获取围栏列表
     * @param fenceQueryDTO
     * @return
     */
    PageVO<FenceVO> getFenceList(FenceQueryDTO fenceQueryDTO);

    /**
     * 添加围栏
     * @param fenceDTO
     */
    void addFence(FenceDTO fenceDTO);

    /**
     * 修改围栏
     * @param fenceUpdateDTO
     */
    void updateFence(FenceUpdateDTO fenceUpdateDTO);
}
